package ch10.d2;

import org.junit.Test;

import java.io.FileWriter;
import java.io.IOException;

public class WriterTest {

    public static void main(String[] agrs) throws IOException {
        FileWriter w=new FileWriter("a/javakc107.txt");
        w.write(23645);

        w.write("张克文".toCharArray());
        w.close();




    }
}
